package com.gitee.feizns.upload.domain.error;

import com.gitee.feizns.web.domain.result.ErrEnums;

/**
 * @author feizns
 * @since 2019/8/9
 */
public enum Code implements ErrEnums {

    /**
     * 文件不能为空
     */
    FILE_CANNOT_BE_EMPTY(1000),

    /**
     * 文件上传失败
     */
    FILE_UPLOAD_FAIL(1001);

    private int code;

    Code(int code) {
        this.code = code;
    }

}
